#include "priorityconfigureline.h"

PriorityConfigureLine::PriorityConfigureLine(QWidget *parent) :
    QWidget(parent)
{
    priorityLabel = new QLabel("Priority of download", this);

    prioritySpinBox = new QSpinBox(this);
    prioritySpinBox->setMinimum(1);
    prioritySpinBox->setMaximum(5);

    setLayout(new QHBoxLayout());

    layout()->addWidget(priorityLabel);
    layout()->addWidget(prioritySpinBox);
}

PriorityConfigureLine::~PriorityConfigureLine()
{
    delete priorityLabel;
    delete prioritySpinBox;
}
